<template>
    <el-icon>
        <component :is="name"></component>
    </el-icon>
</template>
<script setup>
import { ElIcon } from 'element-plus';
const props = defineProps({
    name:{type:String,default:''}
})
</script>